﻿<!DOCTYPE >
<html>
<head>
    <title>微街秀 > 扣费详细</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" type="text/css" href="css/css.css">
    <link rel="stylesheet" type="text/css" href="css/MakeresultDetail.css">
    <script src="js/ajax-data.js" type="text/javascript"></script>
    <script src="js/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="js/base.js" type="text/javascript"></script>
    <script src="js/dialog.js" type="text/javascript"></script>
</head>
<body>
    <div>
        <div class="wamtop">
            <div class="topleft" onclick="window.location.href='Makead_4.html'">
                <img src="img/5.jpg" /></div>
            <div class="topcententxt">
              扣费详细</div>
        </div>
        <div class="tg_select tab1" style="display:none;">
            <div class="selTag">
                <div class="floatLeft">
                    订单号：</div>
                <div class="floatRgiht trade_no"></div>
            </div>

 
          <div style="width: 100%; border-bottom: 1px #ccc solid; background: white;">
                <div class="floatLeft">
                   广告主题：</div>
                <div class="title" style="width: 95%; padding-top: 10px; line-height: 30px; margin-left: 77px;margin-bottom: 10px;
                    color: #909090; width: auto; padding-right: 20px;">                 
                </div>
            </div>

            <div class="selTag">
                <div class="floatLeft">
                    分享数量：</div>
                <div class="floatRgiht total">100</div>
            </div>
               <div class="selTag">
                <div class="floatLeft">
                    均&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 价：</div>
                <div class="floatRgiht price"></div>
            </div>

            <div class="selTag">
                <div class="floatLeft">
                    金&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 额：</div>
                <div class="floatRgiht totalprice" style="color:Red;"></div>
            </div>
             <div class="selTag">
                <div class="floatLeft">
                    日&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 期：</div>
                <div class="floatRgiht date"></div>
            </div>
            <div class="bottonline">
            </div>
        </div>

        <div class="tg_select tab2"  style="display:none;">

            <div class="selTag">
                <div class="floatLeft">
                    扣费项目：</div>
                <div class="floatRgiht title"></div>
            </div>   
            <div class="selTag">
                <div class="floatLeft">
                    金&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 额：</div>
                <div class="floatRgiht totalprice" style="color:Red;"></div>
            </div>
             <div class="selTag">
                <div class="floatLeft">
                    日&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 期：</div>
                <div class="floatRgiht date"></div>
            </div>
            <div class="bottonline">
            </div>
        </div>
    </div>
        <script type="text/javascript">
            var page = 1;
            $(document).ready(function () {
                 load(page);
            });
            function load(page) {
                if (!islogin()) { window.location.href = 'login.html'; return; }
                var id = getUrlArgStr("id");
                if (id == "") return;
                AjaxStart("ajax/fc_record.ashx?get", "direction=2&id=" + id, function (data) {
                    loadhtml(data.item);
                });
            }
            function loadhtml(item) {
                if (item["direction"] == 1) {
                    Alert("参数无效")
                    return;
                }

                if (item["articleid"] < 1) {
                    $(".title").html("余额提现");   //提现记录
                    $(".tab2").css("display", "");
                }
                else {
                    $(".tab1").css("display", "");
                    $(".trade_no").html(item["trade_no"]);
                    $(".title").html(item["title"]);
                    $(".total").html(item["op_total"]);
                    $(".price").html(item["op_price"] + "元");
                }
                $(".totalprice").html("￥" +  item["amount"] + "元");
                $(".date").html(item["date"].replace("T"," ").substring(0,19));
            }
    </script>
</body>
</html>
